package com.hw.daobean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

@Entity(
        indexes = {
                @Index(value = "boxcode", unique = true)
        }
)
//已上传数码
public class RelationInfo {
    @Id(autoincrement = true)
    private Long id;
    private String pid;
    private String pname;
    private String batch;
    private String casecode;
    private String boxcode;
@Generated(hash = 907356589)
public RelationInfo(Long id, String pid, String pname, String batch,
        String casecode, String boxcode) {
    this.id = id;
    this.pid = pid;
    this.pname = pname;
    this.batch = batch;
    this.casecode = casecode;
    this.boxcode = boxcode;
}
@Generated(hash = 1311543990)
public RelationInfo() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getPid() {
    return this.pid;
}
public void setPid(String pid) {
    this.pid = pid;
}
public String getBatch() {
    return this.batch;
}
public void setBatch(String batch) {
    this.batch = batch;
}
public String getCasecode() {
    return this.casecode;
}
public void setCasecode(String casecode) {
    this.casecode = casecode;
}
public String getBoxcode() {
    return this.boxcode;
}
public void setBoxcode(String boxcode) {
    this.boxcode = boxcode;
}
public String getPname() {
    return this.pname;
}
public void setPname(String pname) {
    this.pname = pname;
}


}


